package com.nxy.cpfsfe.service.factory;

/**
 * Created by lcq on 2019/12/24.
 */
public class ForwordFactory {


    public static  ForwardServer getForwardService(String msgTp){
        switch(msgTp){
            case "CPFS.300.001.01":
                return  SmsgIdfyCdServer.getInstance();
            case "CPFS.302.001.01":
                return  DebitCrdInfChkServer.getInstance();
            case "CPFS.304.001.01":
                return  DebitCrdInfQryServer.getInstance();
            case "CPFS.306.001.01":
                return  BindInfoChkServer.getInstance();
            case "CPFS.308.001.01":
                return  CrCrdInfQryServer.getInstance();
            case "CPFS.310.001.01":
                return  CrCrdInstalPQryServer.getInstance();
            case "CPFS.312.001.01":
                return  CrdPtQryServer.getInstance();
            default:
                return null;
        }
    }
}
